using System;
using System.Collections.Generic;

namespace Diploma.Models.IRepositories
{
    public interface ILoggerRepository
    {
        void AddError(DiplomaError error);
        void AddInfo(DiplomaError error);
        void AddDebug(DiplomaError error);
        void AddLoginEvent(DiplomaError info);

        DiplomaError GetError(Guid id);
        IEnumerable<DiplomaError> GetAll();
        IEnumerable<DiplomaError> GetErrors();
        IEnumerable<DiplomaError> GetInfos();
        IEnumerable<DiplomaError> GetDebugs();
        IEnumerable<DiplomaError> GetLogging();
    }
}